﻿@model vngoodlife.Member

@{
    ViewBag.Title = "Thay đổi mật khẩu";
}

<div class="onecolumn">
    <div class="header">
        <span>Trang thay đổi mật khẩu</span>
    </div>
    <br class="clear" />
    <div class="content">

        <div class="display-label error">
            <div class="errorcontent">
                <p>@Html.ValidationMessage("NoticePage")</p>
            </div>
        </div>

        @using (Html.BeginForm("ChangeAdminPass", "Admin", FormMethod.Post, new { id = "ChangeAdminPassForm"}))
        {
            @Html.AntiForgeryToken(vngoodlife.Util.AntiKey.EditSalt)
            @Html.ValidationSummary(true)
   
        <div>
            <div class="editor_left2">
                <label>Mật khẩu cũ:</label><br />
                <div id="divOldPass"><input type="password" id="oldPass" name="oldPass" value="" /></div>
                <div id="mesOldPass" style="color:Red"></div>
            </div>
        </div>
        <br class="clear" />
        <br />
        <div>
            <div class="editor_left2">
                <label>Mật khẩu mới:</label><br />
                <div id="divNewPass"><input type="password" id="newPass" name="newPass" value="" /></div>
                <div id="mesNewPass" style="color:Red"></div>
            </div>
        </div>
        <br class="clear" />
        <br />
            
        <div>
            <div class="editor_left2">
                <label>Xác nhận mật khẩu mới:</label><br />
                <div id="divConfirmNewPass"><input type="password" id="confirmNewPass" name="confirmNewPass" value="" /></div>
                <div id="mesConfirmPass" style="color:Red"></div>
            </div>
        </div>
        <br class="clear" />
        <br />
            
        <p>
            <input type="submit" value="Đổi mật khẩu" style="margin: 0 2px" name="action" />
        </p>
    
        }

    </div>
</div>


<script src="../../../Scripts/Validation/ChangeAdminPassValidation.js" type="text/javascript"></script>
